import React, {Component} from "react";
import {Link} from "react-router-dom";
import {inject, observer} from "mobx-react";

@inject("activityStore")
@observer
class Activity extends Component {
    render() {
        return (
            <div>
                <div>
                    <Link to='/viewActivity'>
                        <button>查看活动</button>
                    </Link>
                </div>
                <div >
                    <Link to='/launchActivity'>
                        <button >发起活动</button>
                    </Link>
                </div>
            </div>
        )
    }
}

export default Activity;